package com.raulraja.processor.impl;

import com.raulraja.domain.Person;
import com.raulraja.processor.Processor;
import org.apache.log4j.Logger;

/**
 * Demonstrates how a Person can be processed
 */
public class PersonProcessorImpl implements Processor<Person> {

	private final static Logger log = Logger.getLogger(PersonProcessorImpl.class);

	/**
	 * Processes something
	 *
	 * @param person the target object to be processed
	 */
	public void process(Person person) {
   		log.debug(person + " something is being done to a person object");
	}
}
